package one.stand.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author: QIK
 * @CreateDate: 2019/5/9 10:37
 */
@Component
@Data
@RefreshScope
public class ComponentConfig {
    @Value("${component.appid}")
    private String appid;
    @Value("${component.secret}")
    private String secret;
    @Value("${component.user.bill}")
    private String userBill;
    @Value("${component.crm.bill}")
    private String crmBill;
    @Value("${component.messagekey}")
    private String messagekey;
    @Value("${component.token}")
    private String token;

    @Value("${component.redirect_uri}")
    private String redirectUri;
}
